package com.sixteen.theGreat.web.controller;


import com.sixteen.theGreat.settings.entity.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

@Controller
public class IndexController {
    /**
     * 跳转到index.jsp再跳转到登录页面
     * @return
     */
    @GetMapping("/")
    public String toIndex(){
        return "index";
    }

}
